import { createRouter, createWebHistory } from 'vue-router'
import LayOut from "@/views/Layout/index.vue"
import Login from "@/views/Login/index.vue"
import LayoutSide from "@/views/Layout/components/LayoutSide.vue"
import LayoutHeader from "@/views/Layout/components/LayoutHeader.vue"
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: LayOut
    },
    {
      path: '/login',
      component: Login
    },{
      path:'/LayoutSide',
      component:LayoutSide
    }
    ,{
      path:'/LayoutHeader',
      component:LayoutHeader
    }
  ]
})

export default router
